package com.ljfresh.customer.dto.udesk;

import com.ljfresh.customer.dto.UDeskResult;
import com.ljfresh.customer.exception.ErrorMap;
import com.ljfresh.customer.page.PageResult;
import com.ljfresh.customer.pojo.AbnormalGoods;
import com.ljfresh.customer.pojo.Ticket;
import com.ljfresh.customer.pojo.WorkOrder;
import com.ljfresh.customer.result.Result;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author zzx
 */
@ApiModel("工单详情返回数据")
@Data
public class WorkOrderResult extends UDeskResult {

    @ApiModelProperty(value = "工单对象",example ="151964431")
    private WorkOrder workOrder;

    public WorkOrderResult(){
        super();
    }

    public WorkOrderResult(Integer code){
        super(code);
    }

    public WorkOrderResult(Integer code,String message){
        super(code,message);
    }

    public WorkOrderResult(Integer code,String message,WorkOrder workOrder){
        super(code,message);
        this.workOrder = workOrder;
    }
}
